/**
 * Copyright (C) 2016 Juno Inc., All Rights Reserved.
 */
package com.jyl.designPattern.behavioral.adapter;

/**
 *
 * @author Long, E-mail:jyl0401@163.com
 * @date 2016年7月19日 下午2:36:37
 */
public class Adapter implements Target{

	private Adaptee adaptee;
    
    public Adapter(Adaptee adaptee) {
        this.adaptee = adaptee;
    }

	public void adapteeMethod() {
		adaptee.adapteeMethod();
	}

	public void adapterMethod() {
		System.out.println("Adapter method!");
    }

}
